package FloorComponents;

import org.jhotdraw.figures.RectangleFigure;

public class DimensionFigure extends RectangleFigure implements FloorPlanComponents {

	protected int _topLeftX;
	protected int _topLeftY;
	protected int _bottomRightX;
	protected int _bottomRightY;
	
	public DimensionFigure(int topX, int topY, int botX, int botY) {
		_topLeftX = topX;
		_topLeftY = topY;
		_bottomRightX = botX;
		_bottomRightY = botY;
		
	}
	
	@Override
	public void create() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void adjust(int topX, int topY, int botX, int botY) {
		_topLeftX = topX;
		_topLeftY = topY;
		_bottomRightX = botX;
		_bottomRightY = botY;
		
	}

	@Override
	public void rotate() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void openDimensionTool(DimensionableFigure parent) {
		// TODO Auto-generated method stub
		
	}

	

}
